<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>患者管理</title>
		<link rel="stylesheet" type="text/css" href="lib/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="css/hzgl.css" />
		<link rel="stylesheet" type="text/css" href="css/reset.css" />
	</head>
	<body>
		<div class="container">
			<div class="layui-tab layui-tab-brief" lay-filter="demo">
				<ul class="layui-tab-title">
					<li class="layui-this">出科</li>
					<li>在科</li>
					<!-- 	<span class="shuaxin">刷新</span>
					<a href="">刷新</a> -->
					<!-- <div class="shuaxin">刷新</div> -->
				</ul>

				<!-- 条件查找 -->
				<div class="layui-form find">
					<div class="layui-form-item">
						<label class="layui-form-label">住院号:</label>
						<div class="layui-input-block">
							<input type="text" name="admid" placeholder="请输入关键字" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">病人姓名:</label>
						<div class="layui-input-block">
							<input type="text" name="name" placeholder="请输入关键字" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item" style="margin-left: 20px;">
						<button type="button" class="layui-btn" lay-submit="" lay-filter="findhz">查询</button>
						<button type="button" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
				<div id="view" class="view clearfix"></div>
				<div id="test1"></div>
				<!-- <div class="layui-tab-content clearfix">
					<div class="layui-tab-item layui-show">
						<div class="card fl">
							
						</div>
					</div>
					<div class="layui-tab-item">
						<div class="card fl">
							
						</div>
					</div>
				</div> -->
			</div>

		</div>

	</body>

	<!-- 模板渲染 -->
	<script id="demo" type="text/html">
		{{#  layui.each(d, function(index, item){ }}
		  <div class="item">
		  <a href="./jbxx.html?id={{item.patientId}}"">
			<div class="tit">
			<span>{{item.patSex}}</span>
			<!-- 床号 -->
			<span class="ch">{{item.bedCode}}</span>
			<!-- 姓名 -->
			<span class="name">{{item.patName}}</span>
			<!-- 年龄 -->
			<span class="bh">{{item.patAge}}</span>
			<!-- 护理等级 -->
			<span class="hldj">{{item.nursingLevel}}</span>
			</div>
			<div class="con clearfix">
				<div class="fl w55">
					<ul>
						<li><span>住院号：{{ item.admid }}</span></li>
						<li><span>入院：{{ item.admDate }}</span></li>
						<li><span>医生：{{ item.mainDoctor }}</span></li>
						<li><span>诊断：{{ item.diatag  }}</span></li>
					</ul>
				</div>
				<div class="fl w45">
					<ul>
						<li><span>总缴费：{{ item.total }}</span></li>
						<li><span>余额：{{ item.balance }}</span></li>
						<li><span>医保方式：{{ item.medicalType  }}</span></li>
					</ul>
				</div>
			</div>
			<div class="foot">
				<span>{{ item.illnessState }}</span>
			</div>
			</a>
			</div>
		  {{#  }); }}
		  {{#  if(d.length === 0){ }}
			无数据
		  {{#  } }}  
	</script>
	<script src="js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/global.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/common.js" type="text/javascript" charset="utf-8"></script>
	<script src="./js/hzgl.js" type="text/javascript" charset="utf-8"></script>
</html>
